package com.cloud.lawcase.api.entity;

import java.io.Serializable;

import javax.persistence.*;

@Table(name = "tc_dic_law_group")
public class TcDicLawGroup implements Serializable{
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "group_id")
	private Long groupId;

	@Column(name = "group_name")
	private String groupName;

	@Column(name = "senior_group_id")
	private Long seniorGroupId;

	@Column(name = "group_code")
	private String groupCode;

	@Column(name = "is_valid")
	private Integer isValid;
	
	@Column(name = "display_order")
	private Integer displayOrder;

	@Transient
	private String sourceKey;

	/**
	 * @return group_id
	 */
	public Long getGroupId() {
		return groupId;
	}

	/**
	 * @param groupId
	 */
	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	/**
	 * @return group_name
	 */
	public String getGroupName() {
		return groupName;
	}

	/**
	 * @param groupName
	 */
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	/**
	 * @return senior_group_id
	 */
	public Long getSeniorGroupId() {
		return seniorGroupId;
	}

	/**
	 * @param seniorGroupId
	 */
	public void setSeniorGroupId(Long seniorGroupId) {
		this.seniorGroupId = seniorGroupId;
	}

	/**
	 * @return is_valid
	 */
	public Integer getIsValid() {
		return isValid;
	}

	/**
	 * @param isValid
	 */
	public void setIsValid(Integer isValid) {
		this.isValid = isValid;
	}

	public String getSourceKey() {
		return sourceKey;
	}

	public void setSourceKey(String sourceKey) {
		this.sourceKey = sourceKey;
	}

	public String getGroupCode() {
		return groupCode;
	}

	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}

	public Integer getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}
	

}